package com.frame.service.impl;

import com.frame.domain.SrcProcess;
import com.frame.mapper.SrcProcessMapper;
import com.frame.service.SrcProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SrcProcessServiceImpl implements SrcProcessService {

    @Autowired
    SrcProcessMapper srcProcessMapper;

    @Override
    public List<SrcProcess> list(SrcProcess srcProcess) {
        return srcProcessMapper.list(srcProcess);
    }

    @Override
    public boolean add(SrcProcess srcProcess) {
        return srcProcessMapper.add(srcProcess);
    }

    @Override
    public boolean update(SrcProcess srcProcess) {
        return srcProcessMapper.update(srcProcess);
    }

    @Override
    public boolean del(Integer processId) {
        return srcProcessMapper.del(processId);
    }

    @Override
    public List<SrcProcess> list2() {
        return srcProcessMapper.list2();
    }

    @Override
    public SrcProcess search(Integer id) {
        return srcProcessMapper.search(id);
    }

    @Override
    public List<Map<String, String>> gettu() {
        return srcProcessMapper.gettu();
    }

    @Override
    public void insertUsers(SrcProcess srcProcess) {
        srcProcessMapper.insertUsers(srcProcess);
    }

    @Override
    public List<Map<String, String>> getlist3() {
        return srcProcessMapper.getlist3();
    }


    @Override
    public List<SrcProcess> gettype() {
        return srcProcessMapper.gettype();
    }



    @Override
    public boolean yunshu1(Integer processId) {
        return srcProcessMapper.getyunshu1(processId);
    }

    @Override
    public List<SrcProcess> yunshu(Integer processId) {
        return srcProcessMapper.yunshu(processId);
    }


}
